<?xml version="1.0" encoding="UTF-8"?>
<html xst:version="0.2"
        xmlns       = "http://www.w3.org/1999/xhtml"
        xmlns:xst   = "http://code.google.com/p/xstag/ns/2011/"
        xmlns:pubs = "http://code.google.com/p/xstag/ns/example/pubs/"
        >
  <xst:import href="pubs-lib/pubs-lib.xstag"/>
  <xst:variable name="years" select="(2008, 2009)"/>
  <xst:variable name="current-authors" select="()"/> <!-- Empty authors list for all authors-->
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Publications of the KWARC group for {$years}</title>
  </head>
  <body>
    <h1>Generated on {fn:current-date()}</h1>
      <div class="tableClass">
        <table border="1">
          <tr><td>Key in the bib file</td><td>Type</td><td>Title</td><td>Authors</td><td>Year</td>
            <td>Venue</td><td>BibTeX source</td>
          </tr>
          <pubs:pubs years="$years" authors="$current-authors" 
            xst:handles="$key, $type, $title, $authors, $year, $venue, $data">
              <tr>
                <td>{$key}</td>
                <td>{$type}</td>
                <td>{$title}</td>
                <td>{string-join($authors, "; ")}</td>
                <td>{$year}</td>
                <td>{$venue}</td>
                <td>{$data}                  
<!--                  <a href="" class="bubble" title="{$data}">Source</a>--> 
                </td>          
              </tr>         
                
          </pubs:pubs>
        </table>
      </div>  
  </body>
</html>
